package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单退款表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Aftersales对象", description="订单退款表")
public class Aftersales implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "编号")
    private String number;

    private Integer orderId;

    private Integer userId;

    @ApiModelProperty(value = "1为未收到货 2为已收到货")
    private Integer deliverStatus;

    @ApiModelProperty(value = "退款原因")
    private String reason;

    @ApiModelProperty(value = "售后说明")
    private String desc;

    @ApiModelProperty(value = "凭证")
    private String images;

    @ApiModelProperty(value = "寄回地址")
    private String sendbackAddress;

    @ApiModelProperty(value = "退款人民币")
    private Integer refundMoney;

    @ApiModelProperty(value = "退款积分")
    private Integer refundScore;

    @ApiModelProperty(value = "审核留言")
    private String auditRemark;

    @ApiModelProperty(value = "寄回物流信息")
    private String sendbackInfo;

    @ApiModelProperty(value = "重新寄物流信息")
    private String resendInfo;

    @ApiModelProperty(value = "审核时间")
    private Date auditedAt;

    @ApiModelProperty(value = "寄回收货时间")
    private Date sendbackReceviedAt;

    @ApiModelProperty(value = "寄回时间")
    private Date sendbackAt;

    @ApiModelProperty(value = "重寄时间")
    private Date resendAt;

    @ApiModelProperty(value = "重寄收货时间")
    private Date resendReceviedAt;

    @ApiModelProperty(value = "退款时间")
    private Date refundedAt;

    @ApiModelProperty(value = "完成时间")
    private Date completedAt;

    @ApiModelProperty(value = "0为拒绝申请  1为申请中   2为流程中   3为已完成    4为已中止取消")
    private Integer status;

    @ApiModelProperty(value = "0为无操作  1为买家已退回  2为卖家已收货 3为卖家已经寄出  4为卖家已退款  5为买家已重新收货")
    private Integer subStatus;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
